{% load pybb_tags %}
{% load glue_filters %}

<tr class="forum-item">
    <td class="title text">
        {% if forum|pybb_forum_unread:user %}<span class="unread"></span>{% endif %}
        <span class="name"><a href="{{ forum.get_absolute_url }}">{{ forum }}</a></span>
        <div class="description">{{ forum.description|safe }}</div>
    </td>
    <td class="topic text">
        {% glue_load_last_topics as last_topics with forum=forum.pk %}
        {% for topic in last_topics %}
          <span><a href="{{ topic.get_absolute_url }}">{{ topic }}</a></span>
        {% endfor %}
    </td>
    <td class="post-count text">{{ forum.post_count }}</td>
    <td class="recent-info text">
        {% if forum.updated %}<a href="{{ forum.last_post.get_absolute_url }}">{% pybb_time forum.updated %}</a>{% endif %}
    </td>
</tr>
</tr>
